/*
 * ConnectButtonListener.h
 *
 *  Created on: Oct 24, 2011
 *      Author: gonzalo
 */

#ifndef CONNECTBUTTONLISTENER_H_
#define CONNECTBUTTONLISTENER_H_

#include "../../SDLtoolkit/Listener.h"
#include "../../SDLtoolkit/widgets/Textbox.h"

class ConnectButtonListener: public Listener {
public:
	ConnectButtonListener(Textbox* userName,Textbox* host);
	virtual ~ConnectButtonListener();

	void execute();

private:
	void pushEventsToOpenEditSceneWindow(std::string user,std::string host);

	Textbox* userName;
	Textbox* host;
};

#endif /* CONNECTBUTTONLISTENER_H_ */
